﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using RoadTeam.Model;
using RoadTeam.Enums;
using RoadTeam.SysInterface;

namespace RoadTeam.BsSystem.CS.HomeInspection
{
    public class TbCsValidateRoomInfo_Sys : ICsValidateRoomInfo
    {

        public DataTable GetEmptyTable()
        {
            SqlWhere where = new SqlWhere();
            where.SelectColumn = @"Top 0 ValidateRoomID,RoomTypeID,ValidateObjectID,ValidateProID,ValidateState,
 ValidateExplain,IsRepair,FillStaffID,FillDate,RepairBeginDate,RepairEndDate,App_Identifier ";
            return TbCsValidateRoomInfo.Select(where, GlobalConfig.RtConnectionString);
        }


        public bool Insert(DataTable dt)
        {
            return TbCsValidateRoomInfo.InsertDatatable(dt, GlobalConfig.RtConnectionString);
        }


    }
}
